package com.pdsu.graduation_design.domain;

import androidx.annotation.NonNull;

public class Order {
   private int oid;
   private int uid;
   private int cid;
   private int cnumber;
   private String cname;
   private String cimage;
   private String order_number;
   private String create_time;
   private String state;

   public Order(int oid, int uid, int cid, int cnumber, String cname, String cimage, String order_number, String create_time, String state) {
      this.oid = oid;
      this.uid = uid;
      this.cid = cid;
      this.cnumber = cnumber;
      this.cname = cname;
      this.cimage = cimage;
      this.order_number = order_number;
      this.create_time = create_time;
      this.state = state;
   }

   public String getCreate_time() {
      return create_time;
   }

   public void setCreate_time(String create_time) {
      this.create_time = create_time;
   }

   public String getState() {
      return state;
   }

   public void setState(String state) {
      this.state = state;
   }

   @NonNull
   @Override
   public String toString() {
      return "Order{" +
              "oid=" + oid +
              ", uid=" + uid +
              ", cid=" + cid +
              ", cnumber=" + cnumber +
              ", cname='" + cname + '\'' +
              ", cimage='" + cimage + '\'' +
              ", order_number='" + order_number + '\'' +
              '}';
   }

   public String getOrder_number() {
      return order_number;
   }

   public void setOrder_number(String order_number) {
      this.order_number = order_number;
   }

   public Order(int oid, int uid, int cid, int cnumber, String cname, String cimage, String order_number) {
      this.oid = oid;
      this.uid = uid;
      this.cid = cid;
      this.cnumber = cnumber;
      this.cname = cname;
      this.cimage = cimage;
      this.order_number = order_number;
   }

   public Order() {
   }

   public int getOid() {
      return oid;
   }

   public void setOid(int oid) {
      this.oid = oid;
   }

   public int getUid() {
      return uid;
   }

   public void setUid(int uid) {
      this.uid = uid;
   }

   public int getCid() {
      return cid;
   }

   public void setCid(int cid) {
      this.cid = cid;
   }

   public int getCnumber() {
      return cnumber;
   }

   public void setCnumber(int cnumber) {
      this.cnumber = cnumber;
   }

   public String getCname() {
      return cname;
   }

   public void setCname(String cname) {
      this.cname = cname;
   }

   public String getCimage() {
      return cimage;
   }

   public void setCimage(String cimage) {
      this.cimage = cimage;
   }


}
